package edu.zerl.easyexceldemo.enums;

import com.baomidou.mybatisplus.annotation.IEnum;

public enum WxReceiveStatusEnum implements IEnum<Integer> {
    NOT_RECEIVE(0, "未发送"),
    ALREADY_RECEIVE(1, "已发送"),
    FAIL_RECEIVE_NO_FRIEND(2, "不是好友发送失败"),
    FAIL_RECEIVE_OTHER_MSG(3, "已经收到其他群发消息导致发送失败");

    private Integer code;
    private String descp;

    WxReceiveStatusEnum(Integer code, String descp) {
        this.code = code;
        this.descp = descp;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDescp() {
        return descp;
    }

    public void setDescp(String descp) {
        this.descp = descp;
    }

    @Override
    public Integer getValue() {
        return code;
    }
}
